package cn.wolfcode.business.service;

import cn.wolfcode.business.domain.BusServiceItem;
import cn.wolfcode.business.vo.AuditInfoVO;
import cn.wolfcode.business.vo.AuditVO;

import java.util.List;

public interface IBusServiceItemService {
    /*
     * 根据ID查询服务项对象
     * */
    BusServiceItem selectBusServiceItemById(Long id);

    /*
     * 查询服务项列表
     * */
    List<BusServiceItem> selectBusServiceItemList(BusServiceItem busServiceItem);

    /*
     * 插入服务项信息
     * */
    int insertBusServiceItem(BusServiceItem busServiceItem);

    /*
     * 更新服务项信息
     * */
    int updateBusServiceItem(BusServiceItem busServiceItem);

    /*
     * 删除服务项信息
     * */
    int deleteBusServiceById(Long id);

    int saleOn(Long id);

    int saleOff(Long id);

    //查询审批页面数据
    AuditInfoVO getAuditInfo(Long id);

    int startAudit(AuditVO vo);

    int changeStatusById(Long serviceItemId, Integer auditstatusInit);
}
